package com.lg.erp.mapper.chenjunhui;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lg.erp.entity.chenjunhui.TOrderC;
import com.lg.erp.entity.chenjunhui.TProductHandover;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ligen
 * @since 2021-04-19
 */
@Component
public interface TOrderMapper extends BaseMapper<TOrderC> {


    List<TOrderC> selectTOrderPage(int pageNum, int pageSize, String orderId);

    int selectTOrderCount(String orderId);

    void updateTOrderC(TOrderC tOrderC);

    void insertTOrder(TOrderC tOrderC);

    int selectAllCount(String inp);

    List<TOrderC> selectAllTOrderPage(Integer pageNum, Integer pageSize, String inp);

    List<TOrderC> selectTOrder();

    List<TOrderC> selectTOrderById(String id);

    TOrderC selectTOrderH(String orderId);
}
